package com.www.ve.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 页面跳转控制器
 *
 * @author XiaoJie
 * @date 2025/6/19 17:42
 */
@Tag(name = "静态页面转换")
@Controller
public class CommonController {
    @GetMapping("/")
    public String index() {
        return "index";
    }
    @GetMapping("/register")
    public String register() {
        return "register";
    }
    @GetMapping("/login")
    public String login() {
        return "login";
    }

    @GetMapping("/index")
    public String toIndex() {
        return "index";
    }

    @GetMapping("/info")
    public String toInfo() {
        return "info";
    }
}
